package com.byxy.service.impl;

import java.util.List;

import javax.annotation.Resource;
import javax.transaction.Transactional;

import org.springframework.stereotype.Service;

import com.byxy.dao.CategoryDao;
import com.byxy.dao.UserDao;
import com.byxy.entity.Category;
import com.byxy.entity.User;
import com.byxy.service.CategoryService;
import com.byxy.service.UserService;


@Service
@Transactional
public class CategoryServiceImpl implements CategoryService{
@Resource
private CategoryDao categoryDao;
	@Override
	public List<Category> findAll() {
		// TODO Auto-generated method stub
		return categoryDao.findAll();
	}

}
